From 99124bb40925c2b66fc1b717eb3b2443dda6ae21 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 25 Apr 2005 07:55:26 +0000 Subject: [PATCH] bitkeeper revision 1.1378 (426ca26eUpP7OInuOBvTyETb6y9VRQ) Add /usr/lib64/python to the path for python tools so that they can be found on 64-bit platforms. Signed-off-by: Jerone Young --- tools/misc/netfix | 1 + tools/misc/xend | 1 + tools/misc/xensv | 1 + tools/misc/xm | 1 + 4 files changed, 4 insertions(+) diff --git a/tools/misc/netfix b/tools/misc/netfix index 32f1021732..e18923f132 100644 --- a/tools/misc/netfix +++ b/tools/misc/netfix @@ -11,6 +11,7 @@ from getopt import getopt # add fallback path for non-native python path installs if needed sys.path.append('/usr/lib/python') +sys.path.append('/usr/lib64/python') from xen.util.Brctl import * short_options = 'hvqni:b:c' diff --git a/tools/misc/xend b/tools/misc/xend index 57fbe14567..355a320292 100644 --- a/tools/misc/xend +++ b/tools/misc/xend @@ -32,6 +32,7 @@ XCS_ARGS = (XCS_EXEC, "-p", XCS_PIDFILE) # add fallback path for non-native python path installs if needed sys.path.append('/usr/lib/python') +sys.path.append('/usr/lib64/python') from xen.xend.server import SrvDaemon class CheckError(ValueError): diff --git a/tools/misc/xensv b/tools/misc/xensv index 8596457cd7..339ed66a93 100755 --- a/tools/misc/xensv +++ b/tools/misc/xensv @@ -24,6 +24,7 @@ import re # add fallback path for non-native python path installs if needed sys.path.append('/usr/lib/python') +sys.path.append('/usr/lib64/python') from xen.xend.server.params import XEND_PID_FILE class CheckError(ValueError): diff --git a/tools/misc/xm b/tools/misc/xm index 6bf8931323..80972ccef9 100755 --- a/tools/misc/xm +++ b/tools/misc/xm @@ -4,6 +4,7 @@ import sys # add fallback path for non-native python path installs if needed sys.path.append('/usr/lib/python') +sys.path.append('/usr/lib64/python') from xen.xm import main main.main(sys.argv) -- 2.30.2